home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgramD2.iso
/
Languages
/
Masm V6.11
/
SAMPLES
/
MIXED
/
CMAIN.C$
/
CMAIN
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1992-11-12
|
234 b
|
12 lines
/* Power2 procedure is in C.ASM */
/* Compile with CL cmain.c c.obj */
#include <stdio.h>
extern int Power2( int factor, int power );
void main()
{
printf( "3 times 2 to the power of 5 is %d\n", Power2( 3, 5 ) );
}